#include<stdio.h>
#include<string.h>

char *decimal(char *p);
int main(void)
{
	char p[102];
	char *ans;
	
	scanf("%s",p);
	ans=decimal(p);
	
	if(ans!=NULL)
	{
		printf("0%s",ans);
	}
	else
	{
		printf("No decimal part");
	}
	
	return 0;
}
char *decimal(char *p)
{
	int length=strlen(p),point;
	
	for(int i=0;i<length;i++)
	{
		if(p[i]=='.')
		{
			point=i;
			break;
		}
	}
	
	static char *little;
	little=p+point;
	
	length=strlen(little);
	
	for(int i=length-1;i>0;i--)
	{
		if(little[i]=='0')
		{
			little[i]='\0';
		}
		else
		{
			break;
		}
	}
	
	if(little[1]=='\0')
	{
		return NULL;
	}
	else
	{
		return little;
	}
}
